package ru.spb.osll.myfit.common.chart;

import com.google.gwt.user.client.rpc.IsSerializable;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * User: Artem Bukhonov
 * Date: 28.03.12
 * Time: 0:36
 */
public class ChartInfo implements Serializable, IsSerializable {
  private static final long serialVersionUID = 1212636741125103679L;
  private List<ChartCurveInfo> m_curves = new ArrayList<ChartCurveInfo>();
  private String m_name;
  //private Color m_backgroundColor = Color.white;
  //private Color m_gridColor = Color.lightGray;
  private int m_width = 500;
  private int m_height = 300;
  private String m_horizontalLabel = "";
  private String m_verticalLabel = "";
  private String m_title = "";
  private String m_sourceFilename  = "";

  public List<ChartCurveInfo> getCurves() {
    return m_curves;
  }

  public void setCurves(List<ChartCurveInfo> curves) {
    m_curves = curves;
  }

  public String getName() {
    return m_name;
  }

  public void setName(String name) {
    m_name = name;
  }

  public String getHorizontalLabel() {
    return m_horizontalLabel;
  }

  public void setHorizontalLabel(String horizontalLabel) {
    m_horizontalLabel = horizontalLabel;
  }

  public String getVerticalLabel() {
    return m_verticalLabel;
  }

  public void setVerticalLabel(String verticalLabel) {
    m_verticalLabel = verticalLabel;
  }

  public String getTitle() {
    return m_title;
  }

  public void setTitle(String title) {
    m_title = title;
  }

  public String getSourceFilename() {
    return m_sourceFilename;
  }

  public void setSourceFilename(String sourceFilename) {
    m_sourceFilename = sourceFilename;
  }

  public int getWidth() {
    return m_width;
  }

  public void setWidth(int width) {
    m_width = width;
  }

  public int getHeight() {
    return m_height;
  }

  public void setHeight(int height) {
    m_height = height;
  }
}
